package com.shop.cereshop.app.dao.dl;

import com.shop.cereshop.app.dl.logic.domain.CareShopNews;
import com.shop.cereshop.app.dl.logic.domain.CareShopNewsColumn;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CareShopNewsMapper {
    int deleteByPrimaryKey(Long newsId);

    int insert(CareShopNews record);

    int insertSelective(CareShopNews record);

    CareShopNews selectByPrimaryKey(Long newsId);

    CareShopNews serachByIdAndContent(@Param("newsId") Long newsId, @Param("content") String content);

    int updateByPrimaryKeySelective(CareShopNews record);

    int updateByPrimaryKeyWithBLOBs(CareShopNews record);

    int updateByPrimaryKey(CareShopNews record);

}